<script src="__PUBLIC__/js/kindeditor_{*LANG_SET}/kindeditor.js"></script>
<script>
function loadKEditor(textareaId,formname) {
	KE.show({
		id : textareaId,
		width : '80%',
		resizeMode : 2,
		cssPath : '__PUBLIC__/js/kindeditor_{*LANG_SET}/index.css',
		afterCreate : function(id) {
			KE.event.ctrl(document, 13, function() {
				KE.sync(id);
				document.forms[formname].submit();
			});
			KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
				KE.sync(id);
				document.forms[formname].submit();
			});
		}
	});
}
function getEditorWordCount() {
	var count = 0;
	
	return count;
}
</script>